package cn.juque.abstractfactory.service;

import cn.juque.abstractfactory.entity.WangChao;
import cn.juque.abstractfactory.product.Byd;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>WangchaoPipelineServiceImpl</li>
 * </ul>
 * @date 2023-06-11 22:54:27
 **/
public class WangchaoPipelineServiceImpl implements BydPipelineService{
    /**
     * 造车
     *
     * @return Tesla
     */
    @Override
    public Byd create() {
        WangChao wangChao = new WangChao("byd:wangchao");
        this.createPower(wangChao);
        this.createGps(wangChao);
        return wangChao;
    }

    /**
     * 提供电源系统
     *
     * @param byd 能源车对象
     */
    @Override
    public void createPower(Byd byd) {

    }

    /**
     * 提供GPS
     *
     * @param byd
     */
    @Override
    public void createGps(Byd byd) {

    }
}
